/**
 * @author: qwesde@hust.edu.cn
 * @date: 2021/2/6 11:24
 */

const getters = {
    sidebar: state => state.app.sidebar,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    userType: state => state.user.userType,
    username: state => state.user.username,
    addRouters: state => state.permission.addRouters,
    routers: state => state.permission.routers,
    defaultTerm: state => state.app.defaultTerm
}

export default getters;